import { createBrowserRouter } from 'react-router-dom'
import Home from '@/pages/Home'

// 懒加载
// import { lazy } from 'react'
// import { lazyPense } from '@/utils/lazyFun.tsx'
// const NoFound = lazy(() => import('@/views/error/404'))
// element: lazyPense(NoFound)

const router = [
  {
    path: '/',
    element: <Home />
  }
]

export default createBrowserRouter(router)
